import React from 'react'
import { Link } from 'react-router-dom'

import moment from 'moment'

class Point extends React.Component {
    render() {
      return (
        null
      );
    }
}
import InfiniteLoading from '../../../components/infinite-loding-hoc'
let url = '/mem/point',
    row = (x, sectionID, rowID) => {
        return (
            <div class="pro-list"  key={x.id}>
                <div class="pro-lt">
                    <div class="s1">{x.format_reason}：&nbsp;{x.project.title}</div>
                    <div class="s2">{moment(x.created_at).format('LL')}</div>
                </div>
                <div class="pro-rt">+{x.point}</div>
            </div>
        )
    }
export default InfiniteLoading(url, row)(Point)